<template>
    <div>
      <Search />
      <QuestionTips />
      <QuestionArticleCard ref="articleCard" />
    </div>
</template>

<script>
    import Search from './Search'
    import QuestionTips from './QuestionTips'
    import QuestionArticleCard from './QuestionArticleCard'
    export default {
        name: "QuestionContent",
        components:{
            Search,
            QuestionTips,
            QuestionArticleCard,
        },
        mounted(){
            this.$emit("component","question")
        },
        methods:{
            recovery(){
                this.$refs.articleCard.getArticleInfo()
            },
            toSearch(keyWord){
                this.$refs.articleCard.searchInfo(keyWord)
            }
        }
    }
</script>

<style scoped>

</style>
